package cn.gson.springboot.model.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

@Mapper
public interface SickRoomMappers {

	//查询病房的名称
	public JSONArray selectRoomAll();
	public JSONArray selectRoomBedAll(@Param("sid") Integer sid);
	
	//查询病房号里的床位号
	public JSONArray selectRoomBedByid(@Param("roomid") Integer roomid);
	
	//修改病房的状态
	public void updateRoomState(@Param("roomid") Integer roomid);
}
